package com.ujs.edu.medicine.dataobject;

import com.ujs.edu.medicine.util.DateFormate;

import java.util.Date;
import java.util.List;

/**
 * 
 * @date 2020/09/14
 */
public class YunjiayiComment {
    /**
     * 评论id
     */
    private Integer commentId;

    /**
     * 创建时间
     */
    private String createTime;

    /**
     * 删除时间
     */
    private String deleteTime;

    /**
     * 内容
     */
    private String content;

    /**
     * 作者id
     */
    private Integer authorId;

    /**
     * 父评论
     */
    private Integer parentid;

    private Integer postId;

    private Author author;

    private Integer like_num;//点赞数

    private Boolean isLike;//是否点赞

    private String parentCommentRealname;



    public String getParentCommentRealname() {
        return parentCommentRealname;
    }

    public void setParentCommentRealname(String parentCommentRealname) {
        this.parentCommentRealname = parentCommentRealname;
    }

    public Author getAuthor() {
        return author;
    }

    public void setAuthor(Author author) {
        this.author = author;
    }


    public Integer getLike_num() {
        return like_num;
    }

    public void setLike_num(Integer like_num) {
        this.like_num = like_num;
    }

    public Boolean getIsLike() {
        return isLike;
    }

    public void setIsLike(Boolean like) {
        isLike = like;
    }

    public Integer getCommentId() {
        return commentId;
    }

    public void setCommentId(Integer commentId) {
        this.commentId = commentId;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public String getDeleteTime() {
        return deleteTime;
    }

    public void setDeleteTime(String deleteTime) {
        this.deleteTime = deleteTime;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public Integer getAuthorId() {
        return authorId;
    }

    public void setAuthorId(Integer authorId) {
        this.authorId = authorId;
    }

    public Integer getParentid() {
        return parentid;
    }

    public void setParentid(Integer parentid) {
        this.parentid = parentid;
    }

    public Integer getPostId() {
        return postId;
    }

    public void setPostId(Integer postId) {
        this.postId = postId;
    }
}